package HOANGVIETANH;

public class WHILE_LOOP {
	public static void main(String[] args) {
		//1. khai bao bien dem
		 int iCount = 0;
		 //2. su dung vong lap WHILE..LOOP
		 // Ctrl+shift+/ :comment ma lenh
		 // Ctrl+shift+\ :uncomment ma lenh
		 while(iCount<10){
			 System.out.println("gia tri cua iCount= "+ iCount);
// tang bien dieu kien--> cho den khi khong thoa man dieu kien-->thoat
		iCount = iCount+1;//iCount++
		//while(true) lap khong co diem dung
		 }
		
	}

}
